package cn.gov.pbc.audit.pojo;

import java.math.BigDecimal;
import java.util.Date;

import lombok.ToString;

@ToString
public class Loan {
    private Integer id;

    private Integer institutionId;

    private String orgName;

    private String orgCode;

    private String clientCode;

    private String clientName;

    private String clientNo;

    private Integer clientType;

    private String clientId;

    private BigDecimal loan;

    private BigDecimal loanBalance;

    private BigDecimal interestRate;

    private Date loanStartDay;

    private Date loanEndDay;

    private String loanType;

    private String loanTypeDetail;

    private String loanUse;

    private Integer loanStatus;

    private String loanCompensate;

    private String guaranteeType;

    private String bail;

    private String pledgeType;

    private String externalCreditEnhancement;

    private String note;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(Integer institutionId) {
        this.institutionId = institutionId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    public String getClientCode() {
        return clientCode;
    }

    public void setClientCode(String clientCode) {
        this.clientCode = clientCode == null ? null : clientCode.trim();
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName == null ? null : clientName.trim();
    }

    public String getClientNo() {
        return clientNo;
    }

    public void setClientNo(String clientNo) {
        this.clientNo = clientNo == null ? null : clientNo.trim();
    }

    public Integer getClientType() {
        return clientType;
    }

    public void setClientType(Integer clientType) {
        this.clientType = clientType;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId == null ? null : clientId.trim();
    }

    public BigDecimal getLoan() {
        return loan;
    }

    public void setLoan(BigDecimal loan) {
        this.loan = loan;
    }

    public BigDecimal getLoanBalance() {
        return loanBalance;
    }

    public void setLoanBalance(BigDecimal loanBalance) {
        this.loanBalance = loanBalance;
    }

    public BigDecimal getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(BigDecimal interestRate) {
        this.interestRate = interestRate;
    }

    public Date getLoanStartDay() {
        return loanStartDay;
    }

    public void setLoanStartDay(Date loanStartDay) {
        this.loanStartDay = loanStartDay;
    }

    public Date getLoanEndDay() {
        return loanEndDay;
    }

    public void setLoanEndDay(Date loanEndDay) {
        this.loanEndDay = loanEndDay;
    }

    public String getLoanType() {
        return loanType;
    }

    public void setLoanType(String loanType) {
        this.loanType = loanType == null ? null : loanType.trim();
    }

    public String getLoanTypeDetail() {
        return loanTypeDetail;
    }

    public void setLoanTypeDetail(String loanTypeDetail) {
        this.loanTypeDetail = loanTypeDetail == null ? null : loanTypeDetail.trim();
    }

    public String getLoanUse() {
        return loanUse;
    }

    public void setLoanUse(String loanUse) {
        this.loanUse = loanUse == null ? null : loanUse.trim();
    }

    public Integer getLoanStatus() {
        return loanStatus;
    }

    public void setLoanStatus(Integer loanStatus) {
        this.loanStatus = loanStatus;
    }

    public String getLoanCompensate() {
        return loanCompensate;
    }

    public void setLoanCompensate(String loanCompensate) {
        this.loanCompensate = loanCompensate == null ? null : loanCompensate.trim();
    }

    public String getGuaranteeType() {
        return guaranteeType;
    }

    public void setGuaranteeType(String guaranteeType) {
        this.guaranteeType = guaranteeType == null ? null : guaranteeType.trim();
    }

    public String getBail() {
        return bail;
    }

    public void setBail(String bail) {
        this.bail = bail == null ? null : bail.trim();
    }

    public String getPledgeType() {
        return pledgeType;
    }

    public void setPledgeType(String pledgeType) {
        this.pledgeType = pledgeType == null ? null : pledgeType.trim();
    }

    public String getExternalCreditEnhancement() {
        return externalCreditEnhancement;
    }

    public void setExternalCreditEnhancement(String externalCreditEnhancement) {
        this.externalCreditEnhancement = externalCreditEnhancement == null ? null : externalCreditEnhancement.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }
}